﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                assembly="KuaJing.Portal.Cms"
				        namespace="KuaJing.Portal.Cms.Domain">

  <class name="Content" table="Cms_Content">
    <id name="Id" access="field.camelcase"
        column="ContentId" type="Int32">
      <generator class="native" />
    </id>
    <!--<version name="Version" access="field.camelcase" />-->

    <property name="Title" />
    <many-to-one name="Category"   class="KuaJing.Portal.Cms.Domain.Category,KuaJing.Portal.Cms"
                 column="CategoryId" />

    <property name="Body"></property>

    <property name="CreatedUserName" access="field.camelcase" />
    <property name="CreatedTime" access="field.camelcase" />
    <property name="ModifiedTime" access="field.camelcase" />
    <property name="ModifiedUserName" access="field.camelcase" />
    <property name="Memo" />
    <property name="IsInvalid" />

  </class>

</hibernate-mapping>


